package com.android.pingpong;

class Cell {
	int x, y;
	
	public Cell(int x, int y) {
		this.x = x;
		this.y = y;
	}
	
	public Cell left = null;
	public Cell right = null;
	public Cell up = null;
	public Cell down = null;
	public boolean out = true;
	public boolean visited = false;
	
	public boolean equals(Cell cell) {			
		return cell == null ? false : this.x == cell.x && this.y == cell.y;
	}
}
